<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const a = 0.14;
      console.log(parseInt("100px"));
      console.log(parseInt("10a20b", 16));
      console.log(parseInt("   203b", 3));
      // console.log(parseInt("   2  0b"));
      // console.log(parseInt("3.14abc"));
      // console.log(parseFloat("3.14.5abc"));
      // console.log(parseFloat("0.14.5abc"));
    </script>
  </body>
</html>
